package com.business.systemmanage.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Value;
import lombok.experimental.Accessors;

/**
 * <p>
 * 组织机构
 * </p>
 *
 * @author sixDog
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Organ implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * organ ID
     */
    private Long id;

    /**
     * 父Id
     */
    private Long fatherId;

    /**
     * 是否根节点
     */
    private Integer isParent;

    /**
     * 机构名称
     */
    private String organName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人员
     */
    private LocalDateTime createOperator;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

    /**
     * 修改人员
     */
    private LocalDateTime modifyOperator;

    /**
     * 是否有效 1是 0否
     */
    private Integer status;


}
